<?php
session_start();
if(isset($_SESSION["id"])){
    unset ($_SESSION["id"]);
    header("location: login.php");
}
else {
    header("location:login.php") ;  
}
?>
